﻿#ifndef USERNETWORKACCESSMANAGER_H
#define USERNETWORKACCESSMANAGER_H

#include "basenetworkaccessmanager.h"
#include "tools.h"

class UserNetworkAccessManager : public BaseNetworkAccessManager
{
    Q_OBJECT
public:
    explicit UserNetworkAccessManager(QObject *parent = nullptr);

    void login(QString username, QString password);

    void sendMessage(QString mobile);

    void doRegister(QString username, QString password, QString inviteCode);

    void updateUserInfo();

    void changePassword(QString oldPassword, QString newPassword, Tools::PasswordType passwordType);

    void updateUser(QString nickName, QString position, QString tel, QString mobile, QString QQ, QString wechat);

    void findPassword(QString username, QString password);
signals:

public slots:
};

#endif // USERNETWORKACCESSMANAGER_H
